using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace WB.Mvc.Forms
{
	/// <summary>
	/// Provides metadata about how properties are related to one another via groups.
	/// </summary>
	public interface IPropertyGrouper<T>
	{
		/// <summary>
		/// Get the name of the group that the property belongs to.
		/// </summary>
		string GetGroup(string propertyName);
	}
}